package com.igor.bookStore.tapestry.pages;

import org.apache.tapestry5.annotations.Persist;

public class ViewError {
		
		@Persist
		private String passedMessage;

		public String getPassedMessage() {
			return passedMessage;
		}

		public void setPassedMessage(String passedMessage) {
			this.passedMessage = passedMessage;
		}

		public String getErrorMessage() {
			return this.passedMessage;
		}

		public void onActivate(String message) {
			this.passedMessage = message;
		}

		public String onPassivate() {
			return passedMessage;
		}
	
	}

